package com.localjoycommunity.cpdj.project.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.localjoycommunity.cpdj.framework.aspectj.lang.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * @Author: lida
 * @Date: 2020/12/16 0016 上午 10:22
 * @Description:
 */
@Data
public class UserCourseWatchVo {
    @Excel(name = "用户名")
    private String userName;
    @Excel(name = "学习课程数")
    private int courseNum;
    @Excel(name = "学习时长")
    private String allStudyTime;
    private int allWatchTime;
    @Excel(name = "最近学习时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private int userId;
}
